package com.example.user.login

import android.util.SparseArray
import androidx.activity.viewModels
import com.alibaba.android.arouter.facade.annotation.Route
import com.example.library_base.base.BaseActivity
import com.example.library_base.router.UserRouterPath
import com.example.user.BR
import com.example.user.R
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
@Route(path = UserRouterPath.USER_LOGIN)
class LoginActivity: BaseActivity(R.layout.activity_login) {

    private val mViewModel by viewModels<LoginViewModel>()

    override fun getVariableSparseArray(): SparseArray<Any> {
        val variables = SparseArray<Any>()
        variables.put(BR.loginViewModel, mViewModel)
        return variables
    }

    override fun initView() {

    }

    override fun requestData() {

    }
}